package com.yilin.tms.order.service.party;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.order.party.OrderAppraise;
import com.yilin.tms.core.entity.order.transit.TransitOrder;
import com.yilin.tms.core.entity.user.account.Account;

import java.util.List;

public interface IOrderAppraiseService extends IService<OrderAppraise> {

    PageData<OrderAppraise> getOrganizeAppraisePage(Account loginUser,String organizeId,  OrderAppraise query, Integer start, Integer limit);

    List<OrderAppraise> getTopTenAppraiseList(String organizeId);

    //批量修改评价状态
    void updateAuditStateList(String[] appraiseIds, OrderAppraise.AuditState auditState);

    void saveOrderAppraise(Account loginUser, OrderAppraise partyOrderAppraise, TransitOrder transitOrder);

    void autoOrderAppraise();


}
